net/http.http2dataBuffer.expected (field)
6 uses
net/http (current package)
h2_bundle.go#L1256: expected int64 // we expect at least this many bytes in future Write calls (ignored if <= 0)
h2_bundle.go#L1308: if b.expected > want {
h2_bundle.go#L1309: want = b.expected
h2_bundle.go#L1316: b.expected -= int64(n)
h2_bundle.go#L6279: b: &http2dataBuffer{expected: req.ContentLength},
h2_bundle.go#L9797: cs.bufPipe.setBuffer(&http2dataBuffer{expected: res.ContentLength})
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)